package wint.session.data.cookie;

import wint.session.config.SessionConfig;
import wint.session.config.SessionStoreConfig;
import wint.session.util.WintSessionContants;

public class CookieSessionStoreConfig implements SessionStoreConfig {
	
	private String prefixName = WintSessionContants.WINT_COOKIE_SESSION_DATA_NAME_PREFIX;
	
	private String dataSeparate = ";";
	
	private String encryptKey = "testkey";

	private int cookieDataMaxSize = WintSessionContants.WINT_COOKIE_DATA_MAX_SIZE;
	
	public void init(SessionConfig sessionConfig) {
		
	}

	public String getPrefixName() {
		return prefixName;
	}

	public void setPrefixName(String prefixName) {
		this.prefixName = prefixName;
	}

	public String getEncryptKey() {
		return encryptKey;
	}

	public void setEncryptKey(String encryptKey) {
		this.encryptKey = encryptKey;
	}

	public String getDataSeparate() {
		return dataSeparate;
	}

	public void setDataSeparate(String dataSeparate) {
		this.dataSeparate = dataSeparate;
	}

	public int getCookieDataMaxSize() {
		return cookieDataMaxSize;
	}

	public void setCookieDataMaxSize(int cookieDataMaxSize) {
		this.cookieDataMaxSize = cookieDataMaxSize;
	}

}
